package com.umakr.ax.common.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.umakr.ax.core.base.BaseModel;

import java.util.Date;

/**
 * <p>
 * 抽奖结果表
 * </p>
 *
 * @author zj
 * @since 2018-05-04
 */
@TableName("rd_lottery_result")
@SuppressWarnings("serial")
public class LotteryResult extends BaseModel {
    /**
     * 抽奖活动id
     */
    @TableField("lottery_id")
    private Long lotteryId;
    /**
     * 用户id
     */
    @TableField("user_id")
    private Long userId;
    /**
     * 头像
     */
    private String headimgurl;
    /**
     * 昵称
     */
    private String nickname;
    /**
     * 手机号
     */
    @TableField("user_phone")
    private String userPhone;
    /**
     * 消息内容类型,0文字，1语音
     */
    @TableField("msg_content_type")
    private Integer msgContentType;
    /**
     * 消息内容
     */
    @TableField("msg_attachment_addr")
    private String msgAttachmentAddr;

    /**
     * 自动翻译
     */
    @TableField("msg_txt_content")
    private String msgTxtContent;
    /**
     * 消息来源，0 微信 1 app
     */
    @TableField("message_from")
    private Integer messageFrom;
    /**
     * 消息时间
     */
    @TableField("msg_time")
    private Date msgTime;
    /**
     * 获奖时间
     */
    @TableField("win_time")
    private Date winTime;
    /**
     * 一键通知，0未通知 1已通知
     */
    @TableField("inform_status")
    private Integer informStatus;

    /**
     * msg_id
     */
    @TableField("msg_id")
    private Long msgId;

    /**
     * 语音长度
     */
    @TableField("radio_len")
    private Integer radioLen;

    public Long getLotteryId() {
        return lotteryId;
    }

    public void setLotteryId(Long lotteryId) {
        this.lotteryId = lotteryId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getHeadimgurl() {
        return headimgurl;
    }

    public void setHeadimgurl(String headimgurl) {
        this.headimgurl = headimgurl;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public Integer getMsgContentType() {
        return msgContentType;
    }

    public void setMsgContentType(Integer msgContentType) {
        this.msgContentType = msgContentType;
    }

    public String getMsgAttachmentAddr() {
        return msgAttachmentAddr;
    }

    public void setMsgAttachmentAddr(String msgAttachmentAddr) {
        this.msgAttachmentAddr = msgAttachmentAddr;
    }

    public String getMsgTxtContent() {
        return msgTxtContent;
    }

    public void setMsgTxtContent(String msgTxtContent) {
        this.msgTxtContent = msgTxtContent;
    }

    public Integer getMessageFrom() {
        return messageFrom;
    }

    public void setMessageFrom(Integer messageFrom) {
        this.messageFrom = messageFrom;
    }

    public Date getMsgTime() {
        return msgTime;
    }

    public void setMsgTime(Date msgTime) {
        this.msgTime = msgTime;
    }

    public Date getWinTime() {
        return winTime;
    }

    public void setWinTime(Date winTime) {
        this.winTime = winTime;
    }

    public Integer getInformStatus() {
        return informStatus;
    }

    public void setInformStatus(Integer informStatus) {
        this.informStatus = informStatus;
    }

    public Long getMsgId() {
        return msgId;
    }

    public void setMsgId(Long msgId) {
        this.msgId = msgId;
    }

    public Integer getRadioLen() {
        return radioLen;
    }

    public void setRadioLen(Integer radioLen) {
        this.radioLen = radioLen;
    }
}
